<!DOCTYPE html>
<html lang="zh-cmn-Hans">

<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
    <meta content="yes" name="apple-mobile-web-app-capable" />
    <meta content="black" name="apple-mobile-web-app-status-bar-style" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="stylesheet" href="__STATIC__/mobile/default/css/layout.css?v=2" />
    <link rel="icon" type="image/png" href="__STATIC__/favicon.ico" />
    <script src="__STATIC__/js/jquery/jquery/2.1.4/jquery.min.js"></script>
    <script src="__STATIC__/mobile/default/js/page.js?v=1"></script>

	
<!--    <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.min.js"></script>-->
     <script src="__STATIC__/libs/vue/dist/vue.js"></script>

    <!-- 引入样式 -->
    <!-- <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css"> -->
    <link rel="stylesheet" href="__STATIC__/libs/element-ui/lib/theme-chalk/index.css">
    <!-- 引入样式文件 -->
    <!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/vant@2.4/lib/index.css"> -->
    <link rel="stylesheet" href="__STATIC__/libs/vant/lib/index.css">
    <link rel="stylesheet" href="__STATIC__/libs/layui-src/dist/css/layui.css">

    <!-- 引入 Vue 和 Vant 的 JS 文件 -->
    <!-- <script src="https://cdn.jsdelivr.net/npm/vant@2.4/lib/vant.min.js"></script> -->
    <script src="__STATIC__/libs/vant/lib/vant.min.js"></script>
    <!-- 引入组件库 -->
    <!-- <script src="https://unpkg.com/element-ui/lib/index.js"></script> -->
    <script src="__STATIC__/libs/element-ui/lib/index.js"></script>

    <script src="__STATIC__/libs/qs/dist/qs.js"></script>
    <script src="__STATIC__/libs/axios/dist/axios.min.js"></script>
    <script src="__STATIC__/libs/layui-src/dist/layui.js"></script>
    <script src="__STATIC__/libs/bluebird/js/browser/bluebird.min.js"></script>

    <script src="__STATIC__/built/main.js"></script>
    <!-- 引入 css 文件 -->
	<link rel="stylesheet" href="__STATIC__/css/iconfont/iconfont.css">
    <link rel="stylesheet" href="__STATIC__/css/main.css">

    <title>{$title} - {$setting.shop_title}</title>
    {block name="head"}{/block}
	<style type="text/css">
		.submit-button,.recordpassword.active .recordpassword-icon:after,.BGcolor_r{background-color:{$setcolor} !important; }
		.order .iconfont,.rank_active,.tag_active,.recordpassword.active,.color--red,.fenlei .left .boxActive,.no_card_text,.bottom-tabbar a.active .icon,.box .van-grid-item__content .iconfont,.color_r,label .check[type=radio]:checked + i:after{color:{$setcolor};}
		.fenlei .boxActive::after{ border-left: 6px solid {$setcolor};}
		.my-header{ height: 1.6rem !important; margin-bottom: 0.7rem; border-radius: 0 0 38% 38%; background-image: none; background-color:{$setcolor}; }
		.tag_active{ border: 1px solid {$setcolor} !important;}
		.orderActive::after,.tabActive::after{border-color: {$setcolor};}
		
	</style>
</head>

<body {block name="body" }{/block}> <div class="page {block name='pageType'}{/block}">
    {empty name="not_top_nav"}
<div class="van-nav-bar" style="z-index: 1; background-color:{$setcolor}">
        <a href="javascript:history.go(-1)" class="van-nav-bar__left"><i
                class="van-icon van-icon-arrow-left van-nav-bar__arrow" style="color: #fff;">
                <!----></i><span class="van-nav-bar__text"></span></a>
        <div class="van-nav-bar__title van-ellipsis" style="color: #fff;">{$title}</div>
        <div class="van-nav-bar__right"><span class="van-nav-bar__text"></span></div>
    </div>
    <!-- <van-nav-bar title="标题" left-text="返回" right-text="按钮" left-arrow @click-left="onClickLeft"
        @click-right="onClickRight" /> -->
    <!-- <div class="page-hd">
        <div class="header base-header bor-1px-b">
            <div class="header-left">
                <a href="javascript:history.go(-1)" class="left-arrow"></a>
            </div>
            <div class="header-title">{$title}</div>
            <div class="header-right">
                <a href=""></a>
            </div>
        </div>
    </div> -->
    {/empty}
    {block name="main"}{/block}
    </div>

    <script src="__STATIC__/js/art-template.js"></script>
    <script src="__STATIC__/mobile/default/js/lib/fastclick.js"></script>
    <script src="__STATIC__/js/jquery/lazyload/jquery.lazyload.js"></script>
    <script src="__STATIC__/js/layer/mobile/layer.js"></script>
    <script>
        $(function () {
            FastClick.attach(document.body);
            $("img.lazy").lazyload({ effect: "fadeIn", event: "scroll", container: $(".page-bd") });
        });
    </script>
    {block name="footer"}{/block}
    <div class="alertBox">
        <div class="alertBG"></div>
        <div class="alert">
            <div class="text fs30 color_3 bor_b">

            </div>
            <!-- 单按钮 -->
            <div class="button fs32 fw_b color_r">
                知道了
            </div>
            <!-- 双按钮 -->
            <div class="buttonBox fs32 fw_b">
                <span class="color_9 bor_r cancel">取消</span>
                <span class="color_r confirm">确定</span>
            </div>
        </div>
    </div>
    {notempty name="wxShare"}
    <script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
    <script type="text/javascript">
        window.shareData = {
            "imgUrl": "{:getUrl($wxShare.img,'img')}",
            "Link": "{$wxShare.shareUrl}",
            "tTitle": "{$wxShare.title}",
            "tContent": '{$wxShare.description}'
        };

        wx.config({
            debug: false,
            appId: '{$wxShare.appId}',
            timestamp: { $wxShare.timestamp },
            nonceStr: '{$wxShare.nonceStr}',
            signature: '{$wxShare.signature}',
            jsApiList: [
                // 所有要调用的 API 都要加到这个列表中
                'onMenuShareTimeline',
                'onMenuShareAppMessage',
                'onMenuShareQQ',
                'onMenuShareWeibo',
            ]
        });
        wx.ready(function () {

            // 分享到朋友圈
            wx.onMenuShareTimeline({
                title: window.shareData.tTitle, 		// 分享标题
                link: window.shareData.Link, 		// 分享链接
                imgUrl: window.shareData.imgUrl, 	// 分享图标
                success: function () {
                    // 用户确认分享后执行的回调函数
                    // alert('分享成功');
                },
                cancel: function () {
                    // 用户取消分享后执行的回调函数
                    //alert('取消分享成功');
                }
            });
            // 分享给朋友
            wx.onMenuShareAppMessage({
                title: window.shareData.tTitle, 		// 分享标题
                link: window.shareData.Link, 		// 分享链接
                imgUrl: window.shareData.imgUrl, 	// 分享图标
                desc: window.shareData.tContent, 		// 分享描述
                type: '', 					// 分享类型,music、video或link，不填默认为link
                dataUrl: '', 				// 如果type是music或video，则要提供数据链接，默认为空
                success: function () {
                    // 用户确认分享后执行的回调函数
                    // alert('分享成功');
                },
                cancel: function () {
                    // 用户取消分享后执行的回调函数
                    // alert('取消分享成功');
                }
            });
            // 分享到QQ
            wx.onMenuShareQQ({
                title: window.shareData.tTitle, 		// 分享标题
                link: window.shareData.Link, 		// 分享链接
                imgUrl: window.shareData.imgUrl, 	// 分享图标
                desc: window.shareData.tContent, 		// 分享描述
                success: function () {
                    // 用户确认分享后执行的回调函数
                    // alert('分享成功');
                },
                cancel: function () {
                    // 用户取消分享后执行的回调函数
                    // alert('取消分享成功');
                }
            });
            // 分享到腾讯微博
            wx.onMenuShareWeibo({
                title: window.shareData.tTitle, 		// 分享标题
                link: window.shareData.Link, 		// 分享链接
                imgUrl: window.shareData.imgUrl, 	// 分享图标
                desc: window.shareData.tContent, 		// 分享描述
                success: function () {
                    // 用户确认分享后执行的回调函数
                    // alert('分享成功');
                },
                cancel: function () {
                    // 用户取消分享后执行的回调函数
                    // alert('取消分享成功');
                }
            });
        });
    </script>
    {/notempty}
</body>

</html>